package com.gandong8.trace.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;


@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class, TransactionAutoConfiguration.class})
public class StartApplication extends SpringBootServletInitializer{

    public static void main(String[] args) {
//        SpringApplication springApplication = new SpringApplication(StartApplication.class);
//        springApplication.addInitializers(new TraceInitializer());
//        springApplication.run(args).close();
        SpringApplication.run(StartApplication.class);
    }

}
